gdkarray: Add a "stolen" boolean to splice()
authorBenjamin Otte <otte@redhat.com>
Wed, 23 Dec 2020 19:04:29 +0000 (20:04 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 24 Dec 2020 05:38:45 +0000 (06:38 +0100)
commit96e1b85c2cfec83961b2a667833155cef3a4b073
treeb9595648e638a6ac761b4f99fc5717c97e865be5
parent71e616d17e4d265bba66cbe7dd818195c6934117
gdkarray: Add a "stolen" boolean to splice()

If set to TRUE, does not call the free func for the removed items.

This can be used to move items between arrays without having to do the
refcounting dance.
gdk/gdkarrayimpl.c
gtk/gtkactionmuxer.c
gtk/gtkcssselector.c
gtk/gtkmultifilter.c
gtk/gtkmultisorter.c
gtk/gtksnapshot.c
gtk/gtkstringlist.c
testsuite/gdk/arrayimpl.c